1.Gcov viewing arm-Linux code coverage
I. About the gcov Tool
Gcov is released with GCC. Add the-fprofile-arcs-ftest-coverage parameter to the GCC compilation to generate a binary program, and execute the test case to generate code coverage
The Gtest white Box test tool is used on the embedded platform , which covers the measured function, but does not know the effect of the test, test line coverage, function coverage, branch coverage data. began to study Gcov whether this code
The unit test coverage rate means that each line of code should be covered by unit tests. Therefore, it is necessary to write a unit test for each method. In addition, if there are many if statement branches in this method, it should also be covered
When compiling GCC, Main references from http://blog.csdn.net/mcy_cool/article/details/17047027 Modified for some reason, marked red place for the modified place Compilation Environment:Kernel Name: LinuxHardware schema name: i686Hardware platform:
GDB debugging and the use of debug scriptsReturn Script BlackstoneFirst, GDB debugging1.1. GDB OverviewGDB is a powerful UNIX program debugging tool released by the GNU Open source organization. Perhaps, you prefer that graphical interface, such as
Article title: comprehensively analyzes the stress test on Linux kernel. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and
1. Development toolsUnder Windows, development tools are presented to end-users in the form of an integrated development environment IDE. For example, VS2008 integrates editor, macro Assembler ml,c/c++ compiler cl, resource Compiler RC, debugger,
In the case of C + + development tools, compared to Windows under Microsoft (VC, VS2005, etc.) eminence, Linux/unix C + + development, is a variety of various. Emacs, VI, Eclipse, anjuta,kdevelop and so on.Under Windows, development tools are
Perform stress tests on the Linux kernel-general Linux technology-Linux programming and kernel information. The following is a detailed description. Stress Testing for Linux Kernel
Automated Software Testing allows you to run the same test within a
1. IntroductionWhat is GRUB? GRUB Full name Grand Unified boot Loader, which is a boot loader-it is responsible for loading the kernel and booting the Linux system. GRUB can also boot other operating systems, such as FreeBSD, NetBSD, OpenBSD, GNU
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.